<?php

namespace Taxx\KernelBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Taxx\KernelBundle\Entity\Language
 *
 * @ORM\Table(name="language")
 * @ORM\Entity
 */
class Language
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var string $iso_code3
     *
     * @ORM\Column(name="iso_code3", type="string", length=3, nullable=false)
     */
    private $iso_code3;
    
    /**
     * @var string $name
     *
     * @ORM\Column(name="name", type="string", length=20, nullable=false)
     */
    private $name;
    
    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getIsoCode3() {
        return $this->iso_code3;
    }

    public function setIsoCode3($iso_code3) {
        $this->iso_code3 = $iso_code3;
    }
        
    public function getName() {
        return $this->name;
    }

    public function setName($name) {
        $this->name = $name;
    }

}

?>
